﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Iudicium.Persona
{
    /// <summary>
    /// Descripción breve de PersonaJuridica
    /// </summary>
    public class PersonaJuridica : Iudicium.Persona.Persona
    {
        #region Atributos

        private string _razonSocial;
        private string _nit;

        #endregion

        #region Propiedades

        public string RazonSocial
        {
            set { _razonSocial = value; }
            get { return _razonSocial; }
        }

        public string Nit
        {
            set { _nit = value; }
            get { return _nit; }
        }

        public override Persona.TipoPersona Tipo
        {
            get { return TipoPersona.Juridica; }
        }

        #endregion

        public PersonaJuridica(int personaId, string razonSocial, string nit) : base(personaId)
        {
            this._razonSocial = razonSocial;
            this._nit = nit;
        }
        
    }
}
